#include <stdint.h>

#ifdef _cplusplus
extern "C"
{
#endif
    void * WASM_Ext_GetDownloader(const char * url);
    int WASM_Ext_Downloader_Open    (void * downloader);
    int WASM_Ext_Downloader_Read    (void * downloader, uint8_t *buf, int size, int pos);
    int WASM_Ext_Downloader_Close   (void * downloader);
#ifdef _cplusplus
}
#endif